package com.yinhe.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yinhe.common.core.domain.entity.SysDept;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yinhe.common.annotation.Excel;
import com.yinhe.common.core.domain.BaseEntity;

/**
 * 质量问题对象 yh_quality_issues
 *
 * @author yinhe
 * @date 2022-10-04
 */
public class YhQualityIssues extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    private SysDept dept;
    public SysDept getDept()
    {
        return dept;
    }

    public void setDept(SysDept dept)
    {
        this.dept = dept;
    }
    /** ID */
    private Long id;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 产品类型 */
    @Excel(name = "产品类型")
    private String productType;

    /** 产品型号 */
    @Excel(name = "产品型号")
    private String productModel;

    /** 产品编码 */
    @Excel(name = "产品编码")
    private String productCode;

    /** 产品图例 */
    @Excel(name = "产品图例")
    private String productLegend;

    /** 产品数量 */
    @Excel(name = "产品数量")
    private String productQuantity;

    /** 零件名称 */
    @Excel(name = "零件名称")
    private String partName;

    /** 零件类型 */
    @Excel(name = "零件类型")
    private String partType;

    /** 适用机型 */
    @Excel(name = "适用机型")
    private String applicableModel;

    /** 零件图号 */
    @Excel(name = "零件图号")
    private String drawingNum;

    /** 零件编码 */
    @Excel(name = "零件编码")
    private String partNumber;

    /** 订货数量 */
    @Excel(name = "订货数量")
    private String orderQuantity;

    /** 计量单位 */
    @Excel(name = "计量单位")
    private String measurementUnit;

    /** 区分状态 */
    @Excel(name = "区分状态")
    private String differentiateStates;

    /** 发生时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发生时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date occurrence;

    /** 涉及装备 */
    @Excel(name = "涉及装备")
    private String involvedEquipment;

    /** 简要情况 */
    @Excel(name = "简要情况")
    private String briefSituation;

    /** 涉及承制单位 */
    @Excel(name = "涉及承制单位")
    private String unitsInvolved;

    /** 军代表室 */
    @Excel(name = "军代表室")
    private String representativeOffice;

    /** 问题类别 */
    @Excel(name = "问题类别")
    private String problemCategory;

    /** 负责人 */
    @Excel(name = "负责人")
    private String head;

    /** 原因分析 */
    @Excel(name = "原因分析")
    private String causeAnalysis;

    /** 解决进展 */
    @Excel(name = "解决进展")
    private String resolutionProgress;

    /** 问题整改计划时限 */
    @Excel(name = "问题整改计划时限")
    private String problemRectification;

    /** 质量问题类型 */
    @Excel(name = "质量问题类型")
    private String qualityIssuesType;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 备注1 */

    private String note1;

    /** 备注2 */

    private String note2;

    /** 备注3 */

    private String note3;

    /** 备注4 */

    private String note4;

    /** 备注5 */

    private String note5;

    /** 备注6 */

    private String note6;

    /** 备注7 */

    private String note7;

    /** 备注8 */

    private String note8;

    /** 备注9 */

    private String note9;

    /** 备注10 */

    private String note10;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setProductName(String productName)
    {
        this.productName = productName;
    }

    public String getProductName()
    {
        return productName;
    }
    public void setProductType(String productType)
    {
        this.productType = productType;
    }

    public String getProductType()
    {
        return productType;
    }
    public void setProductModel(String productModel)
    {
        this.productModel = productModel;
    }

    public String getProductModel()
    {
        return productModel;
    }
    public void setProductCode(String productCode)
    {
        this.productCode = productCode;
    }

    public String getProductCode()
    {
        return productCode;
    }
    public void setProductLegend(String productLegend)
    {
        this.productLegend = productLegend;
    }

    public String getProductLegend()
    {
        return productLegend;
    }
    public void setProductQuantity(String productQuantity)
    {
        this.productQuantity = productQuantity;
    }

    public String getProductQuantity()
    {
        return productQuantity;
    }
    public void setPartName(String partName)
    {
        this.partName = partName;
    }

    public String getPartName()
    {
        return partName;
    }
    public void setPartType(String partType)
    {
        this.partType = partType;
    }

    public String getPartType()
    {
        return partType;
    }
    public void setApplicableModel(String applicableModel)
    {
        this.applicableModel = applicableModel;
    }

    public String getApplicableModel()
    {
        return applicableModel;
    }
    public void setDrawingNum(String drawingNum)
    {
        this.drawingNum = drawingNum;
    }

    public String getDrawingNum()
    {
        return drawingNum;
    }
    public void setPartNumber(String partNumber)
    {
        this.partNumber = partNumber;
    }

    public String getPartNumber()
    {
        return partNumber;
    }
    public void setOrderQuantity(String orderQuantity)
    {
        this.orderQuantity = orderQuantity;
    }

    public String getOrderQuantity()
    {
        return orderQuantity;
    }
    public void setMeasurementUnit(String measurementUnit)
    {
        this.measurementUnit = measurementUnit;
    }

    public String getMeasurementUnit()
    {
        return measurementUnit;
    }
    public void setDifferentiateStates(String differentiateStates)
    {
        this.differentiateStates = differentiateStates;
    }

    public String getDifferentiateStates()
    {
        return differentiateStates;
    }
    public void setOccurrence(Date occurrence)
    {
        this.occurrence = occurrence;
    }

    public Date getOccurrence()
    {
        return occurrence;
    }
    public void setInvolvedEquipment(String involvedEquipment)
    {
        this.involvedEquipment = involvedEquipment;
    }

    public String getInvolvedEquipment()
    {
        return involvedEquipment;
    }
    public void setBriefSituation(String briefSituation)
    {
        this.briefSituation = briefSituation;
    }

    public String getBriefSituation()
    {
        return briefSituation;
    }
    public void setUnitsInvolved(String unitsInvolved)
    {
        this.unitsInvolved = unitsInvolved;
    }

    public String getUnitsInvolved()
    {
        return unitsInvolved;
    }
    public void setRepresentativeOffice(String representativeOffice)
    {
        this.representativeOffice = representativeOffice;
    }

    public String getRepresentativeOffice()
    {
        return representativeOffice;
    }
    public void setProblemCategory(String problemCategory)
    {
        this.problemCategory = problemCategory;
    }

    public String getProblemCategory()
    {
        return problemCategory;
    }
    public void setHead(String head)
    {
        this.head = head;
    }

    public String getHead()
    {
        return head;
    }
    public void setCauseAnalysis(String causeAnalysis)
    {
        this.causeAnalysis = causeAnalysis;
    }

    public String getCauseAnalysis()
    {
        return causeAnalysis;
    }
    public void setResolutionProgress(String resolutionProgress)
    {
        this.resolutionProgress = resolutionProgress;
    }

    public String getResolutionProgress()
    {
        return resolutionProgress;
    }
    public void setProblemRectification(String problemRectification)
    {
        this.problemRectification = problemRectification;
    }

    public String getProblemRectification()
    {
        return problemRectification;
    }
    public void setQualityIssuesType(String qualityIssuesType)
    {
        this.qualityIssuesType = qualityIssuesType;
    }

    public String getQualityIssuesType()
    {
        return qualityIssuesType;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setNote1(String note1)
    {
        this.note1 = note1;
    }

    public String getNote1()
    {
        return note1;
    }
    public void setNote2(String note2)
    {
        this.note2 = note2;
    }

    public String getNote2()
    {
        return note2;
    }
    public void setNote3(String note3)
    {
        this.note3 = note3;
    }

    public String getNote3()
    {
        return note3;
    }
    public void setNote4(String note4)
    {
        this.note4 = note4;
    }

    public String getNote4()
    {
        return note4;
    }
    public void setNote5(String note5)
    {
        this.note5 = note5;
    }

    public String getNote5()
    {
        return note5;
    }
    public void setNote6(String note6)
    {
        this.note6 = note6;
    }

    public String getNote6()
    {
        return note6;
    }
    public void setNote7(String note7)
    {
        this.note7 = note7;
    }

    public String getNote7()
    {
        return note7;
    }
    public void setNote8(String note8)
    {
        this.note8 = note8;
    }

    public String getNote8()
    {
        return note8;
    }
    public void setNote9(String note9)
    {
        this.note9 = note9;
    }

    public String getNote9()
    {
        return note9;
    }
    public void setNote10(String note10)
    {
        this.note10 = note10;
    }

    public String getNote10()
    {
        return note10;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productName", getProductName())
            .append("productType", getProductType())
            .append("productModel", getProductModel())
            .append("productCode", getProductCode())
            .append("productLegend", getProductLegend())
            .append("productQuantity", getProductQuantity())
            .append("partName", getPartName())
            .append("partType", getPartType())
            .append("applicableModel", getApplicableModel())
            .append("drawingNum", getDrawingNum())
            .append("partNumber", getPartNumber())
            .append("orderQuantity", getOrderQuantity())
            .append("measurementUnit", getMeasurementUnit())
            .append("differentiateStates", getDifferentiateStates())
            .append("occurrence", getOccurrence())
            .append("involvedEquipment", getInvolvedEquipment())
            .append("briefSituation", getBriefSituation())
            .append("unitsInvolved", getUnitsInvolved())
            .append("representativeOffice", getRepresentativeOffice())
            .append("problemCategory", getProblemCategory())
            .append("head", getHead())
            .append("causeAnalysis", getCauseAnalysis())
            .append("resolutionProgress", getResolutionProgress())
            .append("problemRectification", getProblemRectification())
            .append("qualityIssuesType", getQualityIssuesType())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("note1", getNote1())
            .append("note2", getNote2())
            .append("note3", getNote3())
            .append("note4", getNote4())
            .append("note5", getNote5())
            .append("note6", getNote6())
            .append("note7", getNote7())
            .append("note8", getNote8())
            .append("note9", getNote9())
            .append("note10", getNote10())
            .append("dept", getDept())
            .toString();
    }
}
